package com.coollang.smartbra.constant;

/**
 * Created by han on 2016/10/26.
 *
 * @author han
 * @date 2016/10/26
 * @Modifier ${MODIFIER}
 * @ModifiedTime ${MODIFIEDDATE}
 * @ModifyContent${MODIFYCONTENT}
 * @since ${VERSIONNBAME}
 * <p>
 * 数据请求url地址
 * <p>
 * 接口参数
 */

public class URlConstant {
    //sms key
    public static final String appKey = "1809ea9a8a86e";
    public static final String appSecret = "c66332db65829ebbd1ce1bba4bb36f35";

    //md5 验证key
    public static final String tokenKey = "smartBra2016";
    // public static final String SERVER = "http://mlf.f3322.net:91/api";//测试服务器

    public static String GETIMAGESLIST = "http://mlf.f3322.net:83/upload/getimage/";
    public static String GETIMAGESLIST1 = "http://mlf.f3322.net:83/upload/getimage1/";
    // public static final String SERVER = "http://sbs.coollang-overseas.com/api";//香港服务器
    public static final String SERVER = "http://hjyd.honji.com.cn/api/";//正式服务器
    public static final String REGIST = SERVER + "/login/register"; //注册
    public static final String LOGIN = SERVER + "/login/login";//登录
    public static final String CHANGEPASS = SERVER + "/login/uppass";//修改密码
    public static final String ISREGIST = SERVER + "/login/userIsReg";//是否注册‘
    public static final String UPLOAD_RUNDATA = SERVER + "/run/uploadData";//上传跑步数据
    public static final String UPLOAD_COUNTTYPEDATA = SERVER + "/actions/uploadCountTypeData";//上传计数数据
    public static final String UPLOAD_TIMETYPEDATA = SERVER + "/actions/uploadPlankData";//上传计时数据
    public static final String ADD_SPORTPLAN = SERVER + "/plan/addPlan";//添加计划
    public static final String UPDATE_SPORTPLAN = SERVER + "/plan/editPlan";//修改计划
    public static final String UPLOADHEAD = SERVER + "/user/uploadHead";//上传头像
    public static final String UPDATEINFO = SERVER + "/user/updateInfo";//修改个人信息
    public static final String GETUSERINFO = SERVER + "/user/userInfo";//获取个人信息
    public static final String GETSPORTDATES = SERVER + "/plan/monthFinished";//有运动的日期和完成度
    public static final String UPDATESOFTWARE = SERVER + "/version/getLastVersion";//版本更新
    public static final String GETMYPLAN = SERVER + "/plan/myPlan";//获取个人计划
    public static final String GETPLANFINISHEDBYDATE = SERVER + "/plan/dayPlanDetail";//具体某天的完成度
    public static final String GETPERSONALMAINDATA = SERVER + "/user/actionTotal";//我的页面统计数据
    public static final String UPLOADSTEPDATA = SERVER + "/actions/uploadStepData";//上传步数
    public static final String GETDAYDETAILDATA = SERVER + "/plan/daySportDetail";//某天的详细数据
    public static final String DEVICEISBIND = SERVER + "/device/checkBind";//设备是否绑定
    public static final String ADDBIND = SERVER + "/device/addBind";//绑定设备
    public static final String GETBINDLIST = SERVER + "/device/bindList";//绑定设备列表
    public static final String UNBIND = SERVER + "/device/removeBind";//解除绑定设备
    public static final String GETACTIONDATA = SERVER + "/user/syncData";//获取统计数据

    // 获取当前硬件的版本号
    public static final String GETLASTVERSION = "http://connect.coollang-overseas.com/Version/getLastVersion";//获取版本号
    public static final String GETHIGHTIME = SERVER + "/actions/getPlankHighestRecord";//获取平板支撑最大理记录
    public static final String REFRESHLOGIN = SERVER + "/api/login/refreshLogin";//刷新cookie
    // 判断设备是否被绑定
    public static final String CHECKMAC = "http://connect.coollang-overseas.com/MacCollect/checkMa";
}
